#import <AdColony/AdColonyAdSize.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

/**
 Enum representing AdColony ad request error codes
 */
typedef NS_ENUM(NSUInteger, AdColonyRequestError
) {

/** An invalid app id or zone id was specified by the developer or an invalid configuration was received from the server (unlikely). */
AdColonyRequestErrorInvalidRequest = 0,

/** The ad was skipped due to the skip interval setting on the control panel. */
AdColonyRequestErrorSkippedRequest,

/** The current zone has no ad fill. */
AdColonyRequestErrorNoFillForRequest,

/** Either AdColony has not been configured, is still in the process of configuring, is still downloading assets, or is already showing an ad. */
AdColonyRequestErrorUnready,

/** This iOS version is no longer supported. */
AdColonyRequestErrorFeatureUnsupported,

/** Unexpected result */
AdColonyRequestErrorUnexpected
};

/**
 Enum representing in-app purchase (IAP) engagement types
 */
typedef NS_ENUM(NSUInteger, AdColonyIAPEngagement
) {

/** IAP was enabled for the ad, and the user engaged via a dynamic end card (DEC). */
AdColonyIAPEngagementEndCard = 0,

/** IAP was enabled for the ad, and the user engaged via an in-vdeo engagement (Overlay). */
AdColonyIAPEngagementOverlay
};

/**
 Enum representing supported ad orientations
 */
typedef NS_ENUM(NSInteger, AdColonyOrientation
) {

/** Portrait and upside down */
AdColonyOrientationPortrait = 0,

/** Landscape left and landscape right */
AdColonyOrientationLandscape = 1,

/** All orientations supported */
AdColonyOrientationAll = 2
};

/**
 Enum representing zone types
 */
typedef NS_ENUM(NSInteger, AdColonyZoneType
) {

/** Invalid zone type */
AdColonyZoneTypeInvalid = -1,

/** Interstitial zone type */
AdColonyZoneTypeInterstitial = 0,

/** Banner zone type */
AdColonyZoneTypeBanner = 1
};

